package com.project.grenting.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
public class IndexController {


    @RequestMapping("/login")
    public String login() throws Exception{

        return "login";
    }



   /* @RequiresPermissions("index")*/

   @RequestMapping({"/index","/",""})
    public String index(Model model) {
        return "index";
    }
}
